package proxy.staticProxy;

public class staticProxyTest {
    public static void main(String[] args) {
        Tenant tenant = new Tenant();
        tenant.setName("王五");
        RentalAgency rentalAgency = new RentalAgency(tenant);
        rentalAgency.giveHouse();
    }
}
